package com.ys.otms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@NoArgsConstructor
public class BerthInfoDto {
    private Integer berthId;
    private String mmsi;
    private String navistat;
    private String lat;
    private String gLat;
    private String lon;
    private String gLon;
    private String sog;
    private String cityName;
    private String lastTime;
    private Date createTime;
    private String shipName;

    public BerthInfoDto(String mmsi, String navistat, String lat, String gLat, String lon, String gLon, String sog, String cityName, String lastTime) {
        this.mmsi = mmsi;
        this.navistat = navistat;
        this.lat = lat;
        this.gLat = gLat;
        this.lon = lon;
        this.gLon = gLon;
        this.sog = sog;
        this.cityName = cityName;
        this.lastTime = lastTime;
    }
}
